-- GENERATED SPELL FOR [Frostmane Headhunter] --


function spell0_1123(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1123', 500, 1)
end

function Sorts_1123(pUnit, Event)
local choix_sorts_1123 = math.random(0, 0)
if choix_sorts_1123 == 0 then
pUnit:RegisterEvent('spell0_1123', 1, 1)
end
end

function mob1123_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1123', math.random(1500, 3000), 1)
end

function mob1123_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1123_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1123_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1123, 1, 'mob1123_Action')
RegisterUnitEvent(1123, 2, 'mob1123_Leave')
RegisterUnitEvent(1123, 3, 'mob1123_Kill')
RegisterUnitEvent(1123, 4, 'mob1123_Die')
